package models

var SetMealStatus map[int]string

// 套餐
type SetMeal struct {
	Id           int64   `orm:"description(自增主键)"`
	Name         string  `orm:"description(名称)"`
	Introduce    string  `orm:"type(text);description(介绍)"`
	Price        float64 `orm:"digits(12);decimals(2);description(价格)"`
	PushNum      int     `orm:"description(推送次数)"`
	ExcellentNum int     `orm:"description(优选个数)"`
	AssistNum    int     `orm:"description(辅选个数)"`
	Status       int     `orm:"description(状态 0禁用 1正常)"`
	StatusShow   string  `orm:"-"`
	Sort         int     `orm:"description(排序，从上到下，由小到大)"`
}

func init() {
	SetMealStatus = map[int]string{
		0: "禁用",
		1: "正常",
	}
}
